@charset "utf-8";
html,
body {
  height: 100vh;
  width: 100vw;
  background-color: #f0f0f0;
}
.page {
  min-height: 100vh;
  width: 100vw;
}

.weui-search-bar_outlined {
  background: inherit;

  .weui-search-bar__form {
    background: #fff;
  }

  .weui-search-bar__cancel-btn {
    font-size: 1.1rem;
  }
}

.weui-footer {
  padding: 5px 0;
}
#filterBox {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  top: 0;
  left: 100%;
  transition: all 0.3s ease-in-out;

  &.showView {
    left: 0;

    .filterFormBox {
      opacity: 1;
    }
  }

  .left {
    width: 20%;
    height: 100%;
  }

  .filterFormBox {
    height: 100%;
    transition: all 0.3s ease-in-out;
    width: 80%;
    opacity: 0;
    box-sizing: border-box;
    background: #fff;

    &.weui-bottom-fixed-opr-page__tool {
      padding: 0;
    }

    .weui-flex__item {
      height: 50%;
    }

    .weui-cells {
      &::after,
      &::before {
        border: 0 !important;
      }
    }

    .weui-cell {
      border-bottom: 1px solid #e5e5e5 !important;
      padding: 10px 0 !important;

      &::after,
      &::before {
        border: 0 !important;
      }

      .weui-label {
        width: 100% !important;
        margin-bottom: 10px;
        color: #666;
      }
    }
  }

  .filterFormContainer {
    overflow: hidden;
    overflow-y: auto;
    padding: 0 15px 15px;

    &.weui-form {
      min-height: 50% !important;
    }
  }

  .filterBtnBox {
    padding: 15px;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);
    height: 50px;

    .weui-btn {
      display: inline-block;
      width: 40%;
    }
  }
}
#home {
  .viewScrollBox {
    height: calc(100vh - 56px);
    overflow: hidden;
    overflow-y: auto;
  }

  .footLoad {
    display: none;
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 5px 0;

    .weui-mask-loading {
      margin-right: 5px;
    }
  }

  .viewListBox {
    min-height: calc(100% - 17px);

    > a {
      background: #fff;
    }
  }
}

#form {
  .formTitle {
    padding: 10px 16px;

    .title {
      font-size: 1.2rem;
    }

    .iconfont {
      color: #666;
      font-size: 18px;
    }
  }

  .formMain {
    height: calc(100vh - 51px);
    overflow: hidden;
    overflow-y: auto;
  }

  .formBox {
    min-height: calc(100% - 27px);
    background: #fff;
  }

  .weui-cells__group_form {
    margin-top: 0;
  }

  .btnBox {
    padding: 15px 0;
  }
}

.bigImgBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(100, 100, 100);
  z-index: 100;
  display: none;

  .bigImg {
    max-width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .icon-close-r {
    position: absolute;
    font-size: 20px;
    color: #fff;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}

#msg {
  background: #fff;

  .msgMain {
    min-height: calc(100vh - 30px);
  }
}
#detail {
  min-height: calc(100vh - 45px);
  padding-top: 15px;
  .detaileTitle {
    padding: 0 15px 15px;
    .title {
      font-size: 1.2rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin-right: 15px;
    }
    .iconfont {
      color: #666;
      font-size: 18px;
    }
  }
  .cells__group_form {
    background: #fff;
    margin-bottom: 15px;
  }
  .btnBox {
    margin: 15px;
    text-align: center;
    .weui-btn {
      display: inline-block !important;
      min-width: 100px;
      width: 40%;
    }
  }
}
